You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TRngStream Class > TRngStream Methods > TRngStream.RandomGaussianMV Method
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TRngStream.RandomGaussianMV Method

Generates random numbers from multivariate normal distribution.

Syntax
C#
Visual Basic
public void RandomGaussianMV([In] TMtx Dst, [In] TVec Mean, [In] TMtx Sigma, [In] TGaussRandMethod Method);

The function generates random numbers with d-variate normal (Gaussian) distribution with Mean value and variance-covariance matrix Sigma, where Sigma is a dxd symmetric positive-definite matrix in full storage. The number of d-dimensional vectors to be generated is defined with Dst.Rows, the dimension d with Dst.Cols. Mean must be equal to Dst.Cols and Sigma.Rows and Sigma.Cols also equal to Dst.Cols.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!